<template>
	<view class="page">
		<view class="back_info" @tap.stop="handleJumpDiy" data-type="back" data-url="1">
			<image :src='STATIC_URL+"307.png"' mode=""></image>
		</view>
		<view class="swiper">
			<swiper class="swiper_content" :indicator-dots="false" :autoplay="false" :vertical="true"
				:current="swiperIndex" @change="changeItem">
				<swiper-item v-for="(v, k) in displayData" :key="k">
					<view class="video_content">
						<video class="swiper_video" :id="`video${k}`" object-fit="contain" :src="item.video" :autoplay="videoAutoplay" :loop="true" :show-fullscreen-btn="false" @loadedmetadata="loadedmetadata" :show-controls="true" :show-play-btn="false" :show-center-play-btn="false" :enable-progress-gesture="false">
							<view class="video_mask" @click="videoPause">
								
							</view>
							<view class="user_content">
								<view class="user_head" @tap.stop="handleJumpDiy" data-type="navigateTo"
									:data-url="`/pages/othersPage/othersPage/othersPage?user_id=${item.user_id}`">
									<image :src="item.head_img" mode="aspectFill"></image>
									<view class="user_head_add" v-if="my_userId != item.user_id" @tap.stop="getFollow">
										<image v-if="item.is_follow == 0" :src='STATIC_URL+"810.png"' mode=""></image>
										<image v-if="item.is_follow == 1" :src='STATIC_URL+"819.png"' mode=""></image>
									</view>
								</view>
								<view class="user_coll" @click.stop="getGiveUp">
									<image class="user_coll_1" :src='STATIC_URL+"811.png"' mode=""
										v-if="item.is_like == 0"></image>
									<image v-else class="user_coll_2" :src='STATIC_URL+"707.png"' mode=""></image>
									<view class="user_coll_text">{{item.like_nums}}</view>
								</view>
								<view class="user_coll" @tap.stop="popupShow1697867527635=true">
									<image class="user_coll_1" :src='STATIC_URL+"812.png"' mode=""></image>
									<view class="user_coll_text">{{item.comment_nums}}</view>
								</view>
								<view class="user_coll" @click.stop="getCollect">
									<image class="user_coll_3" :src='STATIC_URL+"816.png"' mode=""
										v-if="item.is_collect == 0"></image>
									<image class="user_coll_3" :src='STATIC_URL+"817.png"' mode="" v-else></image>
									<view class="user_coll_text">{{item.collect_nums}}</view>
								</view>
								<view class="user_coll" @click.stop="popupShow1697867527634=true">
									<image class="user_coll_1" :src='STATIC_URL+"813.png"' mode=""></image>
									<view class="user_coll_text">分享</view>
								</view>
							</view>

							<view class="title_info" v-if="is_title">
								<view class="guanlian_course">
									<image class="guanlian_course_img" :src='STATIC_URL+"815.png"' mode=""></image>
									<text>查看TA提到的课程</text>
								</view>
								<view class="title_name">@{{item.user_nickname}}</view>
								<view class="title_content">
									<view>{{item.title}}</view>
									<image @tap.stop="is_title = false" :src='STATIC_URL+"814.png"' mode=""></image>
								</view>
							</view>
							<view class="title_info" v-else>
								<view class="guanlian_course" style="opacity: 0;">
									<image class="guanlian_course_img" :src='STATIC_URL+"815.png"' mode=""></image>
									<text>查看TA提到的课程</text>
								</view>
								<view class="title_name" style="opacity: 0;">@{{item.user_nickname}}</view>
								<view class="title_content">
									<view></view>
									<image @tap.stop="is_title = true" :src='STATIC_URL+"818.png"' mode=""></image>
								</view>
							</view>

							<view class="video_play_img" v-if="!videoState" @tap.stop="videoControlFun">
								<image :src='STATIC_URL+"545.png"' mode=""></image>
							</view>
						</video>

					</view>
				</swiper-item>
			</swiper>
		</view>

		<benben-popup v-model="popupShow1697867527635" :mask="true" :mask-close-able="true" mode='bottom'
			:z-index='999'>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout"
				style="background: #fff;border-radius: 24rpx 24rpx 0 0;height: 1000rpx;">
				<view class='flex flex-direction flex-wrap align-stretch maTtention_fd2_0' style="height: 100rpx;">
					<view class='flex flex-wrap align-center justify-between maTtention_fd2_0_c0'>
						<view class='flex flex-wrap align-center maTtention_fd2_0_c0_c0' style="width: 60%;">
							<text class="totalNum">共{{item.comment_nums}}条评论</text>
						</view>
						<view class='flex flex-wrap align-center'>
							<image class='maTtention_fd2_0_c0_c2_c0' mode="aspectFit" :src='STATIC_URL+"558.png"'
								@tap.stop="popupShow1697867527635=false"></image>
						</view>
					</view>
				</view>
				<view class="comment_content">
					<scroll-view class="comment_scroll" :scroll-y="true">
						<view class='flex  classDetail_bodyItemfd2_3_c0_c6_c1' v-for="(v, k) in list" :key="k">
							<view @tap.stop="commentInput(0, k, v.aid, v.user_nickname)">
								<image class='classDetail_bodyItemfd2_3_c0_c6_c1_c0_c0' mode="aspectFill"
									:src='v.user_head_img'></image>
							</view>
							<view style="width: calc(100% - 104rpx);">
								<view class='classDetail_bodyItemfd2_3_c0_c6_c1_c0_c1'>{{v.user_nickname}}</view>
								<view class='flex flex-wrap align-center classDetail_bodyItemfd2_3_c0_c6_c1_c1'
									@tap.stop="commentInput(0, k, v.aid, v.user_nickname)">
									<text class='classDetail_bodyItemfd2_3_c0_c6_c1_c1_c0'>{{v.content}}</text>
								</view>
								<view class='classDetail_bodyItemfd2_3_c0_c6_c1_c3_c0'>{{v.create_time}}</view>
								<view
									class='flex flex-direction flex-wrap align-stretch classDetail_bodyItemfd2_3_c0_c6_c1_c2'
									v-if="v.isShow">
									<view class='flex classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1'
										v-for="(v1, k1) in v.secondList" :key="k1"
										@tap.stop="commentInput(1, k, v1.user_id, v1.user_nickname)">
										<view style="margin-right: 24rpx;">
											<image style="width: 52rpx;height: 52rpx;border-radius: 50%;"
												:src='v1.user_head_img' mode="aspectFill"></image>
										</view>
										<view style="width: calc(100% - 76rpx);">
											<text
												class='classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1_c0'>{{v1.user_nickname}}</text>
											<text class='classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1_c1'>回复：</text>
											<text
												class='classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1_c2'>{{v1.reply_nickname}}：</text>
											<view class='classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1_c3'>{{v1.content}}
											</view>
											<view class='classDetail_bodyItemfd2_3_c0_c6_c1_c3_c0'>{{v1.create_time}}
											</view>
										</view>
									</view>
								</view>
								<view style="width: 100%;font-size: 28rpx;color: #62889B;margin-top: 16rpx;"
									v-if="v.child_total_nums != v.secondList.length" @tap.stop="commentMore(k, v.aid)">
									查看更多{{v.child_total_nums}}条回复</view>
								<view style="width: 100%;font-size: 28rpx;color: #62889B;padding-left: 280rpx;"
									v-if="(v.child_total_nums == v.secondList.length) && v.isShow"
									@tap.stop="commentShow(k)">收起</view>
								<!-- <view style="width: 100%;font-size: 24rpx;color: #999;text-align: center;margin-top: 8rpx;" v-if="(v.child_total_nums == v.secondList.length) && !v.isShow" @tap.stop="commentShow(k)">查看更多{{v.child_total_nums}}条回复 ></view> -->
							</view>
						</view>

						<view class="loadmore" v-if="last_page > 1">
							<u-loadmore font-size="24" :status="status" :icon-type="iconType" :load-text="loadText" />
						</view>
						<view class="noData_other" style="padding-top: 200rpx;" v-if="list.length == 0 && !isShow">
							<image :src='STATIC_URL+"no.png"'></image>
						</view>
					</scroll-view>

					<view class="comment_input">
						<input @confirm="conformComment" class="comment_input_1" v-model="fd3_0_c0" type="text"
							:placeholder="placeholder">
					</view>
				</view>
			</view>

			<!---flex布局flex布局结束-->

		</benben-popup>


		<!-- 分享 -->
		<benben-popup v-model="popupShow1697867527634" :mask="true" :mask-close-able="true" mode='bottom'
			:z-index='999'>
			<!---flex布局flex布局开始-->
			<view class="flex flex-direction flex-wrap align-stretch benben-flex-layout"
				style="background: #fff;border-radius: 24rpx 24rpx 0 0;">
				<view class='flex flex-direction flex-wrap align-stretch maTtention_fd2_0'>
					<view class='flex flex-wrap align-center justify-between maTtention_fd2_0_c0'>
						<view class='flex flex-wrap align-center maTtention_fd2_0_c0_c0'>
						</view>
						<view class='flex flex-wrap align-center'>
							<image class='maTtention_fd2_0_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"556.png"'>
							</image>
							<text class='maTtention_fd2_0_c0_c1_c1'>分享到</text>
							<image class='maTtention_fd2_0_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"557.png"'>
							</image>
						</view>
						<view class='flex flex-wrap align-center'>
							<image class='maTtention_fd2_0_c0_c2_c0' mode="aspectFit" :src='STATIC_URL+"558.png"'
								@tap.stop="popupShow1697867527634=false"></image>
						</view>
					</view>
					<view class='flex flex-wrap align-center justify-between maTtention_fd2_0_c1'>
						<button open-type="share"
							class='flex flex-direction flex-wrap align-center maTtention_fd2_0_c1_c0 share_btn'>
							<image class='maTtention_fd2_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"652.png"'>
							</image>
							<text class='maTtention_fd2_0_c1_c0_c1 share_text'>微信好友</text>
						</button>
						<button open-type="share"
							class='flex flex-direction flex-wrap align-center maTtention_fd2_0_c1_c0 share_btn'>
							<image class='maTtention_fd2_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"559.png"'>
							</image>
							<text class='maTtention_fd2_0_c1_c0_c1 share_text'>朋友圈</text>
						</button>
						<view class='flex flex-direction flex-wrap align-center maTtention_fd2_0_c1_c0'
							v-if="my_userId == item.user_id" @tap.stop="goEdit">
							<image class='maTtention_fd2_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"567.png"'>
							</image>
							<text class='maTtention_fd2_0_c1_c0_c1'>编辑</text>
						</view>
						<!-- <view class='flex flex-direction flex-wrap align-center maTtention_fd2_0_c1_c0' v-if="my_userId == item.user_id" @tap.stop="del">
							<image class='maTtention_fd2_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"568.png"'>
							</image>
							<text class='maTtention_fd2_0_c1_c0_c1'>删除</text>
						</view> -->
						<view class='flex flex-direction flex-wrap align-center maTtention_fd2_0_c1_c0'
							v-if="my_userId != item.user_id" @tap.stop="goReport">
							<image class='maTtention_fd2_0_c1_c0_c0' mode="aspectFit" :src='STATIC_URL+"560.png"'>
							</image>
							<text class='maTtention_fd2_0_c1_c0_c1'>举报</text>
						</view>
					</view>
				</view>
			</view>

			<!---flex布局flex布局结束-->

		</benben-popup>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				popupShow1697867527634: false,
				popupShow1697867527635: false,
				swiperIndex: 0,
				id: "",
				video_page: 1,
				video_last_page: 1,
				page: 1,
				list: [],
				item: {},
				my_userId: global.userInfo.id,
				is_title: true,
				videoContext: null,
				isShow: false,

				"pid": "", // 所属主评论id
				"reply_user_id": "", // 被回复人id
				"commentType": 0,
				"secondexIndex": "",
				"fd3_0_c0": "",
				"dataList": [],
				"placeholder": "说说你的看法…",


				videoState: true, // 视频播放状态
				is_slider: false,
				currentIndex: 0,
				swiperItemCount: 5,
				videoAutoplay: false
			}
		},
		onLoad(options) {
			let {
				id
			} = options;
			if (id !== undefined) this.id = id;
			this.getList();
			
		},
		onShareAppMessage(res) {
			let _this = this;
			if (res.from === 'button') { // 来自页面内分享按钮
				console.log(res.target)
			}
			return {
				title: '国潮小剧',
				path: '/pages/tabBar/homePage/homePage',
				imageUrl: '/static/logo.png'
			}
		},
		onShow() {
			if (this.videoContext) {
				this.videoContext = null;
			}
		},
		onReady() {
			this.videoContext = uni.createVideoContext('video' + this.swiperIndex, this);
		},
		computed: {
			displayData() {
				let startIndex = this.currentIndex * this.swiperItemCount;
				let endIndex = startIndex + this.swiperItemCount;
				return this.dataList.slice(startIndex, endIndex);
			},
		},
		methods: {
			loadedmetadata() {
				setTimeout(()=> {
					this.videoContext.play();
					this.videoContext.seek(0);
				}, 500)
			},
			videoControlFun() {
				this.videoState = !this.videoState;
				if (this.videoState) {
					this.videoContext.play();
				} else {
					this.videoContext.pause();
				}
			},
			videoPause(e) {
				this.videoContext.pause();
				this.videoState = false;
			},

			getList() {
				this.$api.post(global.API_VERSION + '6558160130741', {
					community_id: this.id,
					page: this.video_page
				}).then(res => {
					// console.log(res);
					if (res.data.code == 1) {
						this.video_last_page = res.data.data.last_page;
						this.totalNum = res.data.data.total;
						this.dataList = this.dataList.concat(res.data.data.data);
						if (this.dataList.length > 0) {
							this.item = this.dataList[this.swiperIndex];
							this.getComment();
						}
						// setTimeout(() => {
						// 	this.videoContext.play();
						// }, 300)
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			changeItem(e) {
				let is_next = 0;  // 判断是否向下滑动
				if (e.detail.current > this.swiperIndex) {
					is_next = 1;
				} else {
					is_next = 0;
				}
				this.videoContext = null;
				this.swiperIndex = e.detail.current;
				this.videoContext = uni.createVideoContext('video' + this.swiperIndex, this);
				this.item = this.dataList[this.swiperIndex];
				
				this.is_pull = true;
				this.page = 1;
				this.getComment();
				if (is_next == 1) {
					if ((this.totalNum - Number(this.swiperIndex+1)) == 2) {
						if (this.video_page >= this.video_last_page) {
							return;
						} else {
							this.video_page++;
							this.getList();
						}
					} else {
						return;
					}
				}
			},

			// 点赞 655213c116ace
			getGiveUp() {
				this.$api.post(global.API_VERSION + '655213c116ace', {
					community_id: this.item.aid
				}).then(res => {
					this.$message.info(res.data.msg);
					if (res.data.code == 1) {
						if (res.data.data == 1) {
							this.item.is_like = 1;
							this.item.like_nums += 1;
						} else {
							this.item.is_like = 0;
							this.item.like_nums = this.item.like_nums - 1;
						}
					}
				})
			},
			// 关注
			getFollow() {
				this.$api.post(global.API_VERSION + '6552cbf5eac8e', {
					user_id: this.item.user_id
				}).then(res => {
					this.$message.info(res.data.msg);
					if (res.data.code == 1) {
						if (res.data.data == 1) {
							this.item.is_follow = 1;
						} else {
							this.item.is_follow = 0;
						}
					}
				})
			},
			// 收藏  655213d467a44
			getCollect() {
				this.$api.post(global.API_VERSION + '655213d467a44', {
					community_id: this.item.aid
				}).then(res => {
					this.$message.info(res.data.msg);
					if (res.data.code == 1) {
						if (res.data.data == 1) {
							this.item.is_collect = 1;
							this.item.collect_nums += 1;
						} else {
							this.item.is_collect = 0;
							this.item.collect_nums = this.item.collect_nums - 1;
						}
					}
				})
			},
			// 去编辑
			goEdit() {
				this.popupShow1697867527634 = false;
				uni.redirectTo({
					url: '/pages/shouye/releaseDynamic/releaseDynamic?id=' + this.item.aid
				})
			},
			// 举报  
			goReport() {
				this.popupShow1697867527634 = false;
				uni.navigateTo({
					url: '/pages/shouye/report/report?id=' + this.item.aid
				})
			},

			// 主评论列表  6552137540957
			getComment() {
				this.$api.post(global.API_VERSION + '6552137540957', {
					community_id: this.item.aid,
					page: this.page,
				}).then(res => {
					// console.log(res);
					uni.stopPullDownRefresh();
					this.isShow = false;
					if (res.data.code == 1) {
						this.comment_total_nums = res.data.data.comment_total_nums;
						this.last_page = res.data.data.data.last_page;
						if (res.data.data.data.data.length > 0) {
							res.data.data.data.data.forEach((v, k) => {
								v.secondList = [];
								v.page = 1;
								v.isShow = false;
							})
						}
						if (this.is_pull) {
							this.list = res.data.data.data.data;
						} else {
							this.list = this.list.concat(res.data.data.data.data);
						}
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			// 二级评论列表  post63b68820b98ef
			secondComment() {
				this.$api.post(global.API_VERSION + '6552138123d4c', {
					community_id: this.item.aid,
					community_comment_id: this.pid,
					page: this.list[this.secondexIndex].page
				}).then(res => {
					// console.log(res);
					if (res.data.code == 1) {
						this.list[this.secondexIndex].page += 1;
						this.list[this.secondexIndex].secondList = this.list[this.secondexIndex].secondList.concat(
							res.data.data.data);
						this.list[this.secondexIndex].isShow = true;
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
			// 查看更多二级评论
			commentMore(k, id) {
				this.pid = id;
				this.secondexIndex = k;
				this.secondComment();
			},
			commentShow(index) {
				this.list[this.secondexIndex].isShow = false;
				this.list[this.secondexIndex].secondList = [];
				this.list[this.secondexIndex].page = 1;
			},

			// 评论  post63b688713b350
			commentInput(type, k, id, name) {
				this.commentType = type;
				if (type == 0) {
					this.pid = id; // 回复主评论
				} else {
					this.reply_user_id = id;
				}
				this.placeholder = '回复:' + name;

			},
			conformComment() {
				if (!this.fd3_0_c0) {
					this.$message.info('请输入评论内容');
					return;
				}
				this.$api.post(global.API_VERSION + '655213af1df79', {
					community_id: this.item.aid,
					content: this.fd3_0_c0,
					pid: this.pid,
					reply_user_id: this.reply_user_id
				}).then(res => {
					this.$message.info(res.data.msg);
					this.item.comment_nums += 1;
					this.placeholder = '说说你的看法…';
					this.pid = '';
					this.reply_user_id = '';
					this.fd3_0_c0 = '';
					this.is_pull = true;
					this.page = 1;
					this.getComment();
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.slider_content {
		width: 100%;
		position: absolute;
		left: 0;
		bottom: 0;
		z-index: 20;
		padding: 0 24rpx 16rpx;
	}

	.video_time {
		color: #FFFFFF;
		font-size: 24rpx;
		display: flex;
		justify-content: space-between;
	}

	.video_play_img {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 80rpx;
		height: 80rpx;
		z-index: 30;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.share_btn {
		padding: 0;
		margin: 0;
		background: transparent;
		line-height: 32rpx;

		.share_text {
			transform: translateY(5rpx);
		}
	}

	.page {
		position: relative;

		.back_info {
			width: 50rpx;
			height: 50rpx;
			position: absolute;
			top: 80rpx;
			left: 32rpx;
			z-index: 10;

			image {
				width: 24rpx;
				height: 40rpx;
			}
		}

		.swiper {
			.swiper_content {
				width: 100vw;
				height: 100vh;
			}

			.video_content {
				width: 100%;
				height: 100%;
			}

			.swiper_video {
				width: 100vw;
				height: 100vh;
			}
		}
		.video_mask {
			position: absolute;
			width: 100%;
			height: 85%;
			top: 0;
			left: 0;
			z-index: 5;
		}

		.user_content {
			text-align: center;
			width: 102rpx;
			position: absolute;
			bottom: 267rpx;
			right: 24rpx;
			z-index: 10;

			.user_head {
				width: 102rpx;
				height: 102rpx;
				position: relative;
				margin-bottom: 52rpx;

				image {
					width: 102rpx;
					height: 102rpx;
					border-radius: 50%;
				}

				.user_head_add {
					width: 38rpx;
					height: 38rpx;
					position: absolute;
					bottom: -19rpx;
					left: 50%;
					transform: translateX(-50%);

					image {
						width: 38rpx;
						height: 38rpx;
					}
				}
			}

			.user_coll {
				margin-top: 40rpx;

				.user_coll_1 {
					width: 72rpx;
					height: 72rpx;
				}

				.user_coll_2 {
					width: 72rpx;
					height: 72rpx;
				}

				.user_coll_3 {
					width: 56rpx;
					height: 56rpx;
					margin-bottom: 12rpx;
				}

				.user_coll_text {
					font-size: 22rpx;
					font-family: SF Pro Text, SF Pro Text;
					font-weight: 400;
					color: #FFFFFF;
					margin-top: 6rpx;
				}
			}
		}

		.title_info {
			width: 100%;
			position: absolute;
			bottom: 96rpx;
			left: 0;
			padding: 0 32rpx 0 32rpx;
			z-index: 10;

			.guanlian_course {
				width: 268rpx;
				height: 48rpx;
				background: rgba(0, 0, 0, 0.6);
				border-radius: 24rpx;
				display: flex;
				align-items: center;
				padding-left: 18rpx;
				color: #FFFFFF;
				font-size: 24rpx;

				.guanlian_course_img {
					width: 20rpx;
					height: 24rpx;
					margin: 0 12rpx 0 0rpx;
				}
			}

			.title_name {
				font-size: 32rpx;
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				color: #FFFFFF;
				line-height: 0px;
				text-shadow: 0px 1rpx 1rpx rgba(0, 0, 0, 0.16);
				margin: 40rpx 0;
			}

			.title_content {
				font-size: 28rpx;
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				color: #FFFFFF;
				line-height: 42rpx;
				text-shadow: 0px 1rpx 1rpx rgba(0, 0, 0, 0.2);
				display: flex;
				align-items: center;
				justify-content: space-between;

				image {
					width: 72rpx;
					height: 72rpx;
					margin-left: 52rpx;
				}
			}
		}

		swiper-item {
			width: 100%;
			height: 100%;
		}
	}

	.totalNum {
		font-size: 32rpx;
		font-family: Alimama DongFangDaKai, Alimama DongFangDaKai;
		font-weight: 400;
		color: #333333;
	}

	.comment_content {
		height: 900rpx;
		padding: 0 30rpx;

		.comment_scroll {
			height: 800rpx;
		}

		.comment_input {
			height: 100rpx;
			padding: 16rpx 30rpx;
			border-top: 1px solid #f6f6f6;
		}

		.comment_input_1 {
			height: 68rpx;
			background: #f6f6f6;
			border-radius: 34rpx;
			padding: 0 38rpx;
		}
	}




	.classDetail_bodyItemfd2_3_c0_c6_c1_c3_c5 {
		width: 36rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 8rpx 0rpx 45rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c3_c4 {
		color: #333333;
		font-size: 24rpx;
		font-weight: 400;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c3_c3 {
		width: 36rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 8rpx 0rpx 50rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c3_c3_1 {
		width: 32rpx;
		height: 32rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 8rpx 0rpx 50rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c3_c2 {
		color: #333333;
		font-size: 24rpx;
		font-weight: 400;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c3_c1 {
		width: 36rpx;
		height: 36rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
		margin: 0rpx 8rpx 0rpx auto;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c3_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c3 {
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c2_c2 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c2_c1 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c2_c0 {
		color: #999999;
		font-size: 24rpx;
		font-weight: 400;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1_c3 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 36rpx;
		margin: 16rpx 0 16rpx 0;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1_c2 {
		color: #999999;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1_c0 {
		color: #999999;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 36rpx;
		margin: 0rpx 12rpx 0rpx 0rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c1 {
		margin: 10rpx 0rpx 10rpx 0rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c0_c2 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c0_c1 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c0_c0 {
		color: #666666;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 36rpx;
		margin: 0rpx 12rpx 0rpx 0rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2_c0 {
		margin: 10rpx 0rpx 10rpx 0rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c2 {
		background: rgba(246, 247, 249, 1);
		background-size: 100% !important;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		background-size: 100% auto !important;
		padding: 14rpx 24rpx 14rpx 0rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c1_c0 {
		color: #333333;
		font-size: 28rpx;
		font-weight: 400;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c1 {
		margin: 20rpx 0rpx 16rpx 0rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c0_c1 {
		color: #999;
		font-size: 28rpx;
		font-weight: 500;
		line-height: 36rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1_c0_c0 {
		width: 72rpx;
		height: 72rpx;
		border-radius: 50%;
		margin: 0rpx 24rpx 0rpx 0rpx;
	}

	.classDetail_bodyItemfd2_3_c0_c6_c1 {
		border-bottom: 1px solid #eee;
		padding: 24rpx 0rpx 24rpx 0rpx;
	}






	.maTtention_fd2_0_c1_c0_c1 {
		color: #333333;
		font-size: 24rpx;
		font-weight: 400;
		margin: 16rpx 0rpx 0rpx 0rpx;
	}

	.maTtention_fd2_0_c1_c0_c0 {
		width: 64rpx;
		height: 64rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.maTtention_fd2_0_c1_c0 {
		margin: 0rpx 0rpx 0rpx 0rpx;
	}

	.maTtention_fd2_0_c1 {
		padding: 67rpx 72rpx 69rpx 64rpx;
	}

	.maTtention_fd2_0_c0_c2_c0 {
		width: 40rpx;
		height: 40rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.maTtention_fd2_0_c0_c1_c1 {
		color: #333333;
		font-size: 32rpx;
		font-weight: 500;
		margin: 0rpx 20rpx 0rpx 20rpx;
	}

	.maTtention_fd2_0_c0_c1_c0 {
		width: 28rpx;
		height: 10rpx;
		border-radius: 0rpx 0rpx 0rpx 0rpx;
	}

	.maTtention_fd2_0_c0_c0 {
		width: 40rpx;
		height: 40rpx;
	}

	.maTtention_fd2_0_c0 {
		padding: 40rpx 32rpx 0rpx 32rpx;
	}

	.maTtention_fd2_0 {
		background: var(--benbenbgColor1);
		border-radius: 24rpx 24rpx 0rpx 0rpx;
		background-size: 100% auto;
	}
</style>